package com.krtech.wecard.module.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
    * 二维码截图策略配置 
    */
@ApiModel(value="com-krtech-wecard-module-sys-entity-OrcodeConfig")
@Data
@TableName(value = "orcode_config")
public class OrcodeConfig implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value="创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value="创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value="更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value="更新时间")
    private Date updatedTime;

    /**
     * 近一年截屏次数
     */
    @TableField(value = "latest_year_screenshots")
    @ApiModelProperty(value="近一年截屏次数")
    private Integer latestYearScreenshots;

    /**
     * 触发惩罚name
     */
    @TableField(value = "name")
    @ApiModelProperty(value="触发惩罚name")
    private String name;

    /**
     * 触发惩罚code
     */
    @TableField(value = "code")
    @ApiModelProperty(value="触发惩罚code")
    private String code;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_LATEST_YEAR_SCREENSHOTS = "latest_year_screenshots";

    public static final String COL_NAME = "name";

    public static final String COL_CODE = "code";
}